package com.mzj.eagle.pool;

import java.util.concurrent.atomic.AtomicInteger;

import com.moilioncircle.redis.replicator.rdb.datatype.KeyValuePair;
import com.mzj.eagle.redis.RedisClient;

public interface IRedisClientPool {

	 // 获得连接  
    RedisClient getConnection();  
    // 销毁清空  
    void destroy();  
    // 连接池是活动状态  
    boolean isActive(RedisClient client);  
    
    void sendKv(AtomicInteger dbnum , KeyValuePair<?> kv );
    
    
    void sendCommand(byte[] command, byte[][] args);
    
}
